<#setting number_format="#.##"/>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>户型清单</title>
    <style>
        body {
            font-family: SimSun, Arial Unicode MS, Lucida Sans Unicode, Arial, verdana, arial, helvetica, sans-serif;
        }

        .printContent {
            margin: 0px;
            padding: 0px;
            font-size: 18px;
        }

        .printContent p {
            margin: 0px;
            padding: 0px;
            text-align: left;
            text-indent: 2em;
            line-height: 40px;
            margin-left: 40px;
        }

        .printContent .printTitle {
            text-indent: 0em;
            font-size: 20px;
            text-align: center;
            font-weight: bold;
            height: 40px;
        }

        .paddingLeft {
            padding-left: 300px;
        }

        .table_border_top_hidden {
            border-top: hidden;
        }

        .table_border_bottom_hidden {
            border-bottom: hidden;
        }

        .border {
            text-align: center;
            padding-left: 10px;
            padding-right: 10px;
            border-bottom: 1px solid #000000;
        }

        .borderBlock500 {
            text-align: center;
            width: 500px;
            display: inline-block;
            border-bottom: 1px solid #000000;
        }

        @page {
            margin: 10mm 10mm 0mm 10mm;
        }

        .pageBreak {
            page-break-before: always
        }

        table {
            margin: auto;
            width: 95%;
            border-collapse: collapse;
            border-top: 2px solid #000000;
            border-left: 2px solid #000000;
            border-right: 1px solid #000000;
            border-bottom: 1px solid #000000;
            -fs-table-paginate: paginate;
            border-spacing: 0;

        }

        th, td {
            border-right: 1px solid #000000;
            border-bottom: 1px solid #000000;
            font-size: 14px;
            margin-left: 5px;
            height: 40px;
            page-break-inside: avoid;
            text-align: center;
        }
    </style>
</head>
<body>
<div class="printContent">
    <div>
        <p class="printTitle">${strUtils.getNotNullText(contract.zsProject.printTableName)}</p>
        <p class="printTitle">户型清单</p>
        <table class="table_border_bottom_hidden">
            <tr>
                <td>被安置人</td>
                <td colspan="2">${strUtils.getNotNull(contract.name)}</td>
                <td>征收协议编号</td>
                <td colspan="2">${strUtils.getNotNull(contract.contractCode)}</td>
            </tr>
            <tr>
                <td>选房证顺序号</td>
                <td colspan="2">${strUtils.getNotNull(contract.chooseHouseNum)}</td>
                <td>证件号</td>
                <td colspan="2">${strUtils.getNotNull(contract.idCard)}</td>
            </tr>
        </table>
        <table class="table_border_top_hidden">
            <tr>
                <td colspan="7">安置房状况明细</td>
            </tr>
            <tr>
                <td>房屋性质</td>
                <td>所在小区</td>
                <td>户号</td>
                <td>建筑面积</td>
                <td>分摊面积</td>
                <td>备注</td>
            </tr>
            <#if houseList??>
                <#list houseList as house>
                    <tr>
                        <td>住宅</td>
                        <td>${strUtils.getNotNull(house.azProject.projectName)}</td>
                        <td>${house.houseNumStr}</td>
                        <td>${bigUtils.getNotNullStr(house.buildArea)}</td>
                        <td>${bigUtils.getNotNullStr(house.poolArea)}</td>
                        <td></td>
                    </tr>
                </#list>
            </#if>
            <#if storageRoomList??>
                <#list storageRoomList as storageRoom>
                    <tr>
                        <td>储物间</td>
                        <td>${strUtils.getNotNull(storageRoom.azProject.projectName)}</td>
                        <td>${storageRoom.houseNumStr}</td>
                        <td>
                            <#assign buyHousePersonStorageRoomList=(buyHousePersonStorageRoomMap[storageRoom.id?c])! />
                            <#if buyHousePersonStorageRoomList?? && buyHousePersonStorageRoomList?size != 0>
                                <#list buyHousePersonStorageRoomList as buyHousePersonStorageRoom>
                                    ${strUtils.getNotNull(buyHousePersonStorageRoom.name)}<br/>
                                </#list>
                            </#if>
                        </td>
                        <td>${bigUtils.getNotNullStr(storageRoom.buildArea)}</td>
                        <td></td>
                        <td></td>
                    </tr>
                </#list>
            </#if>
            <#if carLotList??>
                <#list carLotList as carLot>
                    <tr>
                        <td>车位</td>
                        <td>${strUtils.getNotNull(carLot.azProject.projectName)}</td>
                        <td>${carLot.houseNumStr}</td>
                        <td>
                            <#assign buyHousePersonCarLotList=(buyHousePersonCarLotMap[carLot.id?c])! />
                            <#if buyHousePersonCarLotList?? && buyHousePersonCarLotList?size != 0>
                                <#list buyHousePersonCarLotList as buyHousePersonCarLot>
                                    ${strUtils.getNotNull(buyHousePersonCarLot.name)}

                                </#list>
                            </#if>
                        </td>
                        <td>${bigUtils.getNotNullStr(carLot.buildArea)}</td>
                        <td></td>
                        <td></td>
                    </tr>
                </#list>
            </#if>
        </table>
        <p style="text-indent: -1em;margin-top: 20px">财务经办人员：</p>
        <!--<p style="text-align: right;margin-top: 10px">
            ${strUtils.getNotNullText(contract.zsProject.takeMoneyUnitName)}</p>-->
        <p style="text-align: right;margin-top: 10px">年&#160;&#160;&#160;月&#160;&#160;&#160;日</p>
    </div>
</div>
</body>
</html>